@import "../../../styles.less";

.tool-bar {
  height         : 44px;
  width          : 100%;
  right          : 10px;
  background     : #fff;
  box-shadow     : 0 1px 0 0 @lightest-grey, 0 4px 8px 0 rgba(0, 0, 0, 0.10);
  border-radius  : 0 2px 0 0;
  display        : flex;
  justify-content: space-between;
  align-items    : baseline;
  margin-bottom  : 15px;


  .tool-bar-left {
    float      : left;
    padding    : 8px 8px 8px 8px;
    user-select: none;

    & d-button {
      margin          : 0 16px 0 16px;
      border          : none;
      background-color: transparent;
      height          : 24px;
      padding         : 0px;
    }

    & img {
      margin: 0;
    }
  }

  .tool-bar-right {
    display     : inline-block;
    width       : 40%;
    text-align  : right;
    right       : 0;
    top         : 0;
    margin-right: 24px;

    & .tool-bar-button {
      margin          : 0 4px 0 4px;
      padding         : 4px 12px 4px 12px;
      color           : @black;
      letter-spacing  : 0;
      text-align      : center;
      line-height     : 18px;
      background-color: #fff;
      border          : 1px solid @light-grey;
      border-radius   : 2px;
    }
  }
}

d-card {
  cursor : pointer;
  display: inline-block;
  transition:
    box-shadow 0.3s ease-in-out,
    transform 0.3s ease-in-out;

  &:hover {
    box-shadow: 0 4px 16px 0 rgba(17, 18, 19, 0.5);
    transform : translateY(-5px);
  }
}
